package com.hmall.common.client;


import com.hmall.common.dto.PageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "itemservice")
public interface ItemClient {

    @GetMapping("/item/list")
    PageDTO findById(Long page ,  Long size);
}